package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dormitory_visit
 * 
 * @author ruoyi
 * @date 2023-01-07
 */
public class DormitoryVisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入访ID */
    private Long visitId;

    /** 学号 */
    @Excel(name = "学号")
    private Long stuNumber;

    /** 入访人员名称 */
    @Excel(name = "入访人员名称")
    private String visitName;

    /** 入访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitTime;

    /** 离开时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离开时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitLeave;

    /** 入访目的 */
    @Excel(name = "入访目的")
    private String visitPurpose;

    /** 被访问者 */
    @Excel(name = "被访问者")
    private String visitStudent;

    /** 楼栋号 */
    @Excel(name = "楼栋号")
    private String visitBuilding;

    /** 宿舍号 */
    @Excel(name = "宿舍号")
    private Long visitDormitory;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private Long visitContantWay;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private Long visitIdentity;

    /** 登记人 */
    @Excel(name = "登记人")
    private String visitRegister;

    public void setVisitId(Long visitId) 
    {
        this.visitId = visitId;
    }

    public Long getVisitId() 
    {
        return visitId;
    }
    public void setStuNumber(Long stuNumber) 
    {
        this.stuNumber = stuNumber;
    }

    public Long getStuNumber() 
    {
        return stuNumber;
    }
    public void setVisitName(String visitName) 
    {
        this.visitName = visitName;
    }

    public String getVisitName() 
    {
        return visitName;
    }
    public void setVisitTime(Date visitTime) 
    {
        this.visitTime = visitTime;
    }

    public Date getVisitTime() 
    {
        return visitTime;
    }
    public void setVisitLeave(Date visitLeave) 
    {
        this.visitLeave = visitLeave;
    }

    public Date getVisitLeave() 
    {
        return visitLeave;
    }
    public void setVisitPurpose(String visitPurpose) 
    {
        this.visitPurpose = visitPurpose;
    }

    public String getVisitPurpose() 
    {
        return visitPurpose;
    }
    public void setVisitStudent(String visitStudent) 
    {
        this.visitStudent = visitStudent;
    }

    public String getVisitStudent() 
    {
        return visitStudent;
    }
    public void setVisitDormitory(Long visitDormitory) 
    {
        this.visitDormitory = visitDormitory;
    }

    public Long getVisitDormitory() 
    {
        return visitDormitory;
    }
    public void setVisitBuilding(String visitBuilding)
    {
        this.visitBuilding = visitBuilding;
    }

    public String getVisitBuilding()
    {
        return visitBuilding;
    }
    public void setVisitContantWay(Long visitContantWay) 
    {
        this.visitContantWay = visitContantWay;
    }

    public Long getVisitContantWay() 
    {
        return visitContantWay;
    }
    public void setVisitIdentity(Long visitIdentity) 
    {
        this.visitIdentity = visitIdentity;
    }

    public Long getVisitIdentity() 
    {
        return visitIdentity;
    }
    public void setVisitRegister(String visitRegister) 
    {
        this.visitRegister = visitRegister;
    }

    public String getVisitRegister() 
    {
        return visitRegister;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("visitId", getVisitId())
            .append("stuNumber", getStuNumber())
            .append("visitName", getVisitName())
            .append("visitTime", getVisitTime())
            .append("visitLeave", getVisitLeave())
            .append("visitPurpose", getVisitPurpose())
            .append("visitStudent", getVisitStudent())
            .append("visitDormitory", getVisitDormitory())
            .append("visitBuilding", getVisitBuilding())
            .append("visitContantWay", getVisitContantWay())
            .append("visitIdentity", getVisitIdentity())
            .append("visitRegister", getVisitRegister())
            .toString();
    }
}
